<?php /* Smarty version Smarty-3.1.6, created on 2013-04-07 10:00:07
         compiled from "/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/ClientStat/detail3.tpl" */ ?>
<?php /*%%SmartyHeaderCode:5849691635160d327455059-12492629%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '7552bcdfbe057ba75d57feceb80be8289d06e5c1' => 
    array (
      0 => '/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/ClientStat/detail3.tpl',
      1 => 1364183648,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '5849691635160d327455059-12492629',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'list' => 0,
    'itemtr' => 0,
    'lang' => 0,
    'key' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_5160d32757a7c',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5160d32757a7c')) {function content_5160d32757a7c($_smarty_tpl) {?><?php if (!is_callable('smarty_block_tr')) include '/home/zmx/erp2.1/DzhPHP/FrameWork/Extend/Vendor/Smarty/plugins/block.tr.php';
?><table  class="list" border="1"> 
	<?php  $_smarty_tpl->tpl_vars['itemtr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['itemtr']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['list']->value['group_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['itemtr']->key => $_smarty_tpl->tpl_vars['itemtr']->value){
$_smarty_tpl->tpl_vars['itemtr']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['itemtr']->key;
?>
		<tr>
		<td colspan="6"  class="t_left" ><?php echo $_smarty_tpl->tpl_vars['itemtr']->value[0]['title'];?>
</td> 
		</tr> 
		<tr>
			<th rowspan="1"><?php echo $_smarty_tpl->tpl_vars['lang']->value['date'];?>
</th> 
			<th rowspan="1"><?php echo $_smarty_tpl->tpl_vars['lang']->value['should_paid'];?>
</th>
			<th rowspan="1"><?php echo $_smarty_tpl->tpl_vars['lang']->value['have_paid'];?>
</th>  
			<th rowspan="1"><?php echo $_smarty_tpl->tpl_vars['lang']->value['discount'];?>
</th> 
			<th rowspan="1"><?php echo $_smarty_tpl->tpl_vars['lang']->value['funds'];?>
</th> 
			<th rowspan="1"><?php echo $_smarty_tpl->tpl_vars['lang']->value['comments'];?>
</th> 
		</tr> 
		<?php $_smarty_tpl->smarty->_tag_stack[] = array('tr', array('from'=>$_smarty_tpl->tpl_vars['itemtr']->value,'name'=>($_smarty_tpl->tpl_vars['key']->value))); $_block_repeat=true; echo smarty_block_tr(array('from'=>$_smarty_tpl->tpl_vars['itemtr']->value,'name'=>($_smarty_tpl->tpl_vars['key']->value)), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

			<?php $_smarty_tpl->smarty->_tag_stack[] = array('td', array()); $_block_repeat=true; echo smarty_block_td(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

				<?php echo $_smarty_tpl->tpl_vars['item']->value['fmd_paid_date'];?>

			<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_td(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>

			<?php $_smarty_tpl->smarty->_tag_stack[] = array('td', array('class'=>"t_right")); $_block_repeat=true; echo smarty_block_td(array('class'=>"t_right"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

				<?php echo $_smarty_tpl->tpl_vars['item']->value['dml_original_money'];?>

			<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_td(array('class'=>"t_right"), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
 
			<?php $_smarty_tpl->smarty->_tag_stack[] = array('td', array('class'=>"t_right")); $_block_repeat=true; echo smarty_block_td(array('class'=>"t_right"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

				<?php echo $_smarty_tpl->tpl_vars['item']->value['dml_have_paid'];?>

			<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_td(array('class'=>"t_right"), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
  
			<?php $_smarty_tpl->smarty->_tag_stack[] = array('td', array('class'=>"t_right")); $_block_repeat=true; echo smarty_block_td(array('class'=>"t_right"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

				<?php echo $_smarty_tpl->tpl_vars['item']->value['dml_discount_money'];?>

			<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_td(array('class'=>"t_right"), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>

			<?php $_smarty_tpl->smarty->_tag_stack[] = array('td', array('class'=>"t_right")); $_block_repeat=true; echo smarty_block_td(array('class'=>"t_right"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
  
				<?php echo $_smarty_tpl->tpl_vars['item']->value['dml_sum_need_paid'];?>
  
			<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_td(array('class'=>"t_right"), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>

			<?php $_smarty_tpl->smarty->_tag_stack[] = array('td', array('total_link'=>false,'class'=>"t_left")); $_block_repeat=true; echo smarty_block_td(array('total_link'=>false,'class'=>"t_left"), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

				<?php if ($_smarty_tpl->tpl_vars['item']->value['comments_url']){?>
				<a href="javascript:;" onclick="addTab('<?php echo $_smarty_tpl->tpl_vars['item']->value['comments_url'];?>
','<?php echo $_smarty_tpl->tpl_vars['lang']->value['view_detail'];?>
',1); ">
				<?php echo $_smarty_tpl->tpl_vars['item']->value['edit_comments'];?>

				</a>
				<?php }else{ ?>
				<?php echo $_smarty_tpl->tpl_vars['item']->value['edit_comments'];?>

				<?php }?>
			<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_td(array('total_link'=>false,'class'=>"t_left"), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>

		<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_tr(array('from'=>$_smarty_tpl->tpl_vars['itemtr']->value,'name'=>($_smarty_tpl->tpl_vars['key']->value)), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
 
		<tr>
		<td class="red "><?php echo $_smarty_tpl->tpl_vars['lang']->value['page_total'];?>
</td>
		<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['itemtr']->value[0]['total_original_money'];?>
 </td>
		<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['itemtr']->value[0]['total_have_paid'];?>
 </td>
		<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['itemtr']->value[0]['total_discount_money'];?>
 </td>
		<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['itemtr']->value[0]['total_sum_need_paid'];?>
 </td>  
		<td class="red ">&nbsp;</td>
		</tr>
		<tr>
		<td class="red "><?php echo $_smarty_tpl->tpl_vars['lang']->value['total'];?>
</td>
		<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['list']->value['all_total']['dml_original_money'];?>
 </td>
		<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['list']->value['all_total']['dml_have_paid'];?>
 </td>
		<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['list']->value['all_total']['dml_discount_money'];?>
 </td>
		<td class="red t_right"> <?php echo $_smarty_tpl->tpl_vars['list']->value['all_total']['dml_money'];?>
 </td>  
		<td class="red ">&nbsp;</td>
		</tr> 
		<?php } ?>
</table>
<br><br><?php }} ?>